<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>inspect_type_links.first.Foo.Foo | My Python Project</title>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
  <link rel="stylesheet" href="m-dark+documentation.compiled.css" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<header><nav id="navigation">
  <div class="m-container">
    <div class="m-row">
      <a href="index.html" id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m">My Python Project</a>
    </div>
  </div>
</nav></header>
<main><article>
  <div class="m-container m-container-inflatable">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <h1>
          <span class="m-breadcrumb"><a href="inspect_type_links.html">inspect_type_links</a>.<wbr/></span><span class="m-breadcrumb"><a href="inspect_type_links.first.html">first</a>.<wbr/></span><span class="m-breadcrumb"><a href="inspect_type_links.first.Foo.html">Foo</a>.<wbr/></span>Foo <span class="m-thin">class</span>
        </h1>
        <p>An inner class in the first module</p>
        <nav class="m-block m-default">
          <h3>Contents</h3>
          <ul>
            <li>
              Reference
              <ul>
                <li><a href="#methods">Methods</a></li>
                <li><a href="#data">Data</a></li>
              </ul>
            </li>
          </ul>
        </nav>
<p>Referencing self as <a class="m-doc" href="inspect_type_links.first.Foo.Foo.html">Foo</a> or <a class="m-doc" href="inspect_type_links.first.Foo.Foo.html">Foo.Foo</a>, parent as
<a class="m-doc" href="inspect_type_links.first.Foo.html">first.Foo</a>, other as <a class="m-doc" href="inspect_type_links.second.Foo.html">second.Foo</a>. However inside annotations
<code>Foo</code> references the parent, consistently in a function and in data?
Am I doing something wrong?</p>
        <section id="methods">
          <h2><a href="#methods">Methods</a></h2>
          <dl class="m-doc">
            <dt id="reference_parent">
              <span class="m-doc-wrap-bumper">def <a href="#reference_parent" class="m-doc-self">reference_parent</a>(</span><span class="m-doc-wrap">self,
              a: <a href="inspect_type_links.first.Foo.html" class="m-doc">first.Foo</a>,
              b: <a href="inspect_type_links.first.Foo.html" class="m-doc">first.Foo</a>)</span>
            </dt>
            <dd>A method referencing its parent wrapper class using first.Foo. Foo works too, though. Weird. Displayed as first.Foo.</dd>
            <dt id="reference_self">
              <span class="m-doc-wrap-bumper">def <a href="#reference_self" class="m-doc-self">reference_self</a>(</span><span class="m-doc-wrap">self,
              a: <a href="inspect_type_links.first.Foo.Foo.html" class="m-doc">Foo</a>,
              b: <a href="inspect_type_links.first.Foo.Foo.html" class="m-doc">Foo</a>)</span>
            </dt>
            <dd>A method referencing its wrapper class using Foo.Foo or first.Foo.Foo, displayed as Foo in both cases; however using just Foo in the annotation references the parent?!</dd>
          </dl>
        </section>
        <section id="data">
          <h2><a href="#data">Data</a></h2>
          <dl class="m-doc">
            <dt id="reference_parent_data">
              <a href="#reference_parent_data" class="m-doc-self">reference_parent_data</a>: <a href="https://docs.python.org/3/library/typing.html#typing.Tuple" class="m-doc-external">typing.Tuple</a>[<a href="inspect_type_links.first.Foo.html" class="m-doc">first.Foo</a>, <a href="inspect_type_links.first.Foo.html" class="m-doc">first.Foo</a>] = {}
            </dt>
            <dd></dd>
            <dt id="reference_self_data">
              <a href="#reference_self_data" class="m-doc-self">reference_self_data</a>: <a href="https://docs.python.org/3/library/typing.html#typing.Tuple" class="m-doc-external">typing.Tuple</a>[<a href="inspect_type_links.first.Foo.Foo.html" class="m-doc">Foo</a>, <a href="inspect_type_links.first.Foo.Foo.html" class="m-doc">Foo</a>] = {}
            </dt>
            <dd></dd>
          </dl>
        </section>
      </div>
    </div>
  </div>
</article></main>
</body>
</html>
